package com.xd.core.business.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 客户工单关联表
 * </p>
 *
 * @author ZX
 * @since 2025-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ExcelIgnoreUnannotated
public class InsuranceIncomingInfoPageVo implements Serializable {

    @ApiModelProperty(value = "进件单号")
    private Integer incomingId;

    @ApiModelProperty(value = "流程状态（1-进件中，2-实名认证，3-等待授信，5-授信完成,6-等待签约,7-签约完成,11--待放款）")
    private String status;

    @ApiModelProperty(value = "授信审核状态（0--待审核，1--审核拒绝，2--审核通过）")
    private String creditStatus;

    @ApiModelProperty(value = "授信审核状态（0--待审核，1--审核拒绝，2--审核通过）")
    private String creditStatusRemark;

    @ApiModelProperty(value = "授信id")
    private String creditId;

    @ExcelProperty(value = "订单状态")
    @ApiModelProperty(value = "订单状态详情")
    private String statusRemark;

    @ExcelProperty(value = "客户类型")
    @ApiModelProperty(value = "客户类型")
    private String principalType;

    @ExcelProperty(value = "保单金额")
    @ApiModelProperty(value = "保单金额")
    private BigDecimal amount;

    @ExcelProperty(value = "借款金额")
    @ApiModelProperty(value = "借款金额")
    private BigDecimal loanAmount;

    @ExcelProperty(value = "借款主体")
    @ApiModelProperty(value = "借款主体")
    private String name;

    @ExcelProperty(value = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ExcelProperty(value = "业务更新时间")
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date updateTime;

    @ExcelProperty(value = "订单创建时间")
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date orderTime;

    @ExcelProperty(value = "授信人")
    @ApiModelProperty(value = "授信人")
    private String creditUser;

    @ExcelProperty(value = "进件机构")
    @ApiModelProperty(value = "进件机构")
    private String institution;

    @ExcelProperty(value = "平台停单")
    @ApiModelProperty(value = "订单状态(0--启用,1--停用)")
    private String isEnable;

    @ApiModelProperty(value = "资方id")
    private Integer companyId;

    @ExcelProperty(value = "借款订单编号")
    @ApiModelProperty(value = "进件订单号")
    private String incomingOrder;

    @ApiModelProperty(value = "商户订单号")
    private String orderNo;

    @ApiModelProperty(value = "放款id")
    private Integer outId;

    @ApiModelProperty(value = "是否展示放款详情（0--不展示，1--展示）")
    private String flag;

    @ApiModelProperty(value = "预付款支付方式code")
    private String payTypeCode;

    @ApiModelProperty(value = "预付款状态code（0--未到账，1--已到账）")
    private String advanceStatusCode;
}
